package com.woniu.outlet.client;

import com.woniu.util.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "erp-yan-order", qualifier = "orderClient")
public interface OrderClient {

    @GetMapping("order/findIdByOrderNo")
    ResponseResult<Long> findIdByOrderNo(@RequestParam("orderNo") String orderNo);
}
